home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 8
/
FM Towns Free Software Collection 8.iso
/
t_os
/
artemis
/
artsrc2
/
grpscrzm.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-01
|
644b
|
25 lines
/*
grpscrzm.c
*/
#include <ryosuke.h>
#include <usrlib.h>
extern char *EGB_work;
void grp_scrZoom( int xrate, int yrate )
{
static struct { int x,y } resolution[] =
{ { 640,400 }, { 640,200 }, { 640,480 }, { 640,400 },
{ 256,256 }, { 256,256 }, { 256,240 }, { 256,240 },
{ 360,240 }, { 320,240 }, { 320,240 },
{ 640,480 }, { 640,400 }, { 720,480 },
{ 320,480 }, { 320,480 }, { 512,480 }, { 512,480 } };
int mode;
EGB_displayStart( EGB_work, 2, xrate, yrate );
mode = grp_getMode() - 1;
EGB_displayStart( EGB_work, 3, resolution[mode].x, resolution[mode].y );
}
/* end of grpscrzm.c */